package com.iraeta.dao.main;

import com.iraeta.entity.main.ErpRdrecordSc;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ErpRdrecordScDao {
    int deleteByPrimaryKey(Long autoid);
    int insert(ErpRdrecordSc record);
    int updateByPrimaryKey(ErpRdrecordSc record);
    ErpRdrecordSc selectByPrimaryKey(Long autoid);
    List<ErpRdrecordSc> selectTopRecord();
    List<ErpRdrecordSc> selectByCinvcode(@Param("cinvcode") String cinvcode, @Param("cmocode") String cmocode);
}